package com.oplink.webems.modules.event.entity;

public class BaseEvent {
	
	private String type;
	
	private String action;
	
	private Object entity;


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public Object getEntity() {
		return entity;
	}

	public void setEntity(Object entry) {
		this.entity = entry;
	}
	
	
	public static final String TYPE_ALARM_NE = "alarmNe";
	public static final String TYPE_ALARM_SITE = "alarmSite";
	public static final String TYPE_CREATE_NE = "createNe";
	public static final String TYPE_CREATE_SITE = "createSite";
	
	public static final String ACTION_VALUE_ON = "on";
	public static final String ACTION_VALUE_OFF = "off";
}
